package com.robot.dao;


import com.robot.model.Protocol;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/6/16
 * Time: 16:51
 * PROJECT：robot
 * PACKAGE: com.robot
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Mapper
public interface InterfaceMapper {

    public int addProtocol(Protocol protocol);

    public int updateProtocol(Protocol protocol);

    public List<Protocol> getProtocolList(Protocol protocol);

    public int removeProtocol(Integer id);

    public Protocol getProtocolById(Integer id);

   Long totalCount();

}
